function projectCtrl($scope, $route, $rootScope, $timeout, commonService, $location, $sce) {

    _log('### projectCtrl ###');

    $rootScope.hasLeftMenu = false;
    $rootScope.contentWidth = "100%";


    $scope.projectData = {
        hiddenHdrImg: '',
        hiddenImg: '',
        details: [],
        hdrDetails: [],
        hdrData: ''
    };

    // get parameter
    var param = $location.search();

    var url = 'content_ws.php';

    var params = {
        wsname: 'getcontentbyid',
        id: param.id,
        token: _pageData.tokenKey
    };

    $.getJSON(_COMMON.context + url, params).done(function(result) {
        $scope.$apply(function() {
            $scope.projectData.hdrData = result.contents;
            $scope.projectData.hiddenHdrImg = result.contents['fulltext'];
            $timeout(function() {
                var el = $('#h-header  img');
                $.each(el, function(key, value) {
                    $scope.projectData.hdrDetails.push($(this).attr('src'));
                });

            }, 100);
        });


        params = {
            wsname: 'searchcontentbycriteria',
            catid: 4,
            keyword: 'image_related',
            token: _pageData.tokenKey
        };
        $.getJSON(_COMMON.context + url, params).done(function(result) {
            $scope.$apply(function() {
                var datas = result.contents;

                for (i in datas) {
                    $scope.projectData.hiddenImg = datas[i]['fulltext'];
                }

                $timeout(function() {
                    var el = $('[id^=h-img]  img');
                    $.each(el, function(key, value) {
                        $scope.projectData.details.push($(this).attr('src'));
                    });

                    _COMMON.loading(null, 0);

                }, 100);

            });
        });


    });


}
